﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace Pahan.McuFusion.Common.ComponentModel
{
    internal class HardwareAdapterInfoConverter : ExpandableObjectConverter
    {
        public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
        {
            if (destinationType == typeof(String))
            {
                return "(Protocol Adapter Info)";
            }
            return base.ConvertTo(context, culture, value, destinationType);
        }
    }
}
